package com.heima.feign.clients;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.pojos.ApUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("leadnews-wemedia")
public interface WmmediaClient {

    @PostMapping("/api/v1/user/save")
    public ResponseResult saveWmUser(@RequestBody ApUser apUser);
}
